package com.keba.lamp.complaint.vo.update;

import com.keba.basic.base.entity.SuperEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 证据目录和案件关联表
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-04-02 00:12:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "证据目录和案件关联表")
public class EvidenceCaseRelUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @NotNull(message = "请填写ID", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 业务id
     */
    @Schema(description = "业务id")
    @NotNull(message = "请填写业务id")
    private Long caseId;
    /**
     * 业务类型[01-起诉状，02-答辩状 ]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.BIZ_TYPE)
     */
    @Schema(description = "业务类型[01-起诉状，02-答辩状 ]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.BIZ_TYPE)")
    @Size(max = 50, message = "业务类型[01-起诉状，02-答辩状 ]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.BIZ_TYPE)长度不能超过{max}")
    private String bizType;
    /**
     * 案件类别;[01-贷款 99-其它]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.CASE_TYPE)
     */
    @Schema(description = "案件类别")
    @Size(max = 50, message = "案件类别长度不能超过{max}")
    private String caseType;
    /**
     * 证据目录组件名称
     */
    @Schema(description = "证据目录组件名称")
    @Size(max = 255, message = "证据目录组件名称长度不能超过{max}")
    private String name;
    /**
     * 证据目录排序
     */
    @Schema(description = "证据目录排序")
    @NotNull(message = "请填写证据目录排序")
    private Integer sortValue;
    /**
     * 租户ID
     */
    @Schema(description = "租户ID")
    private Long tenantId;


}
